cssimage: Fix cross-fade
authorBenjamin Otte <otte@redhat.com>
Wed, 11 Jan 2017 01:51:50 +0000 (02:51 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 11 Jan 2017 01:53:12 +0000 (02:53 +0100)
commit4c7ddbf519db17010328b4ffaba994f5b6a9f94c
treece58c0fb9183d4b420440ed0a7fdf4dd92de974a
parent9133ec5cd49207c36f0a4f3f92776a3d3d81d855
cssimage: Fix cross-fade

Simgle image cross-fade opacity was computed the wrong way, which caused
weird fade-in/out animations, for example in flat buttons.

I messed this up when porting cross-fades to snapshot().
gtk/gtkcssimagecrossfade.c